import Button from "./button"
import Swiper from "./swiper"
import Indicator from "./indicator"
import Album from "./album"

const components = [
  Button,
  Swiper,
  Indicator,
  Album
]

const install = (app) => {
  if (install.installed) return
  components.forEach(component => {
    app.component(component.name, component)
  })
}
export default {
  install
}
